#ifdef _SYMBIAN_SDK_


#ifndef symWindow_h__
#define symWindow_h__

#include "./mylib.h"
#include "./mydxlib.h"

using namespace Framework;

class symWindow : public myWinlet
{
	DECL_RTTI1(symWindow,myWinlet);
	typedef enum _FocusState_
	{
		Showing_SubMenu,
		Hiding_SubMenu,
		Moving_No
	}FocusState;
public:
	virtual Bool Create(i32 x,i32 y,i32 w,i32 h,myResMgr* resManager);

	virtual Void	Delete();

	virtual MsgStatus	handlePostEvent(myMsgMgr* mgr,Msg* message);

	virtual MsgStatus	handleSendEvent(myMsgMgr* mgr,Msg* message);

	MsgStatus	onPaint(		myMsgMgr* mgr,Msg* msg);
	
	MsgStatus onCreated(myMsgMgr* mgr,Msg* event);

	MsgStatus onTimer(myMsgMgr* mgr,Msg* event);

private:
	myResMgr* m_Manager;

	myControl*  mCurrent;
	Sky::Pict	   mTestPict;
	Sky::Font      mSmallFont;
	
	FocusState	mFocusMoving;

};
#endif // symWindow_h__

#endif